package com.bianguo.android.functiondemo.view.activity;

import android.support.annotation.Nullable;
import android.os.Bundle;

import com.bianguo.android.functiondemo.R;
import com.study.xuan.gifshow.gif.VrGifView;

import butterknife.BindView;

public class VRShowActivity extends BaseActivity {

    @BindView(R.id.vr_show_gif_view)
    VrGifView gifView;

    @Override
    public int layoutId() {
        return R.layout.activity_vrshow;
    }

    @Override
    public void initView(@Nullable Bundle savedInstanceState) {
        gifView.setTouch(true);//是否 可触摸
        gifView.setDrag(true);//是否可拖拽
        gifView.setScale(true);//是否可伸缩
        gifView.setMoveMode(VrGifView.MODE_FAST);//触摸响应速度
    }
}
